package com.kaisu.blog.application.file.convert;

import com.kaisu.blog.application.file.dto.FileDTO;
import com.kaisu.blog.application.user.convert.UserApplicationConvert;
import com.kaisu.blog.domain.file.File;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

/**
 * @author kaisu
 */
@Mapper(componentModel = MappingConstants.ComponentModel.SPRING, uses = {UserApplicationConvert.class})
public interface FileApplicationConvert {
    FileDTO toDTO(File file);
}
